//
// Created by konglinglong on 2020/9/14.
//

#include <stdio.h>
#include "../../../../lib/doctest.h"
#include "../../../../../src/o5gran/l2/src/mac/include/macApi.h"
#include "../../../../common/commDef.h"

using namespace std;

TEST_SUITE ("MAC_TS")
{
    TEST_CASE ("MAC_TC")
    {
        int32_t rc;
        int argc;
        char* argv[4];

        argc = 3;
        argv[0] = (char*)"APP_TYPE_RAN";
        argv[1] = (char*)"--app-type=APP_TYPE_RAN";
        argv[2] = (char*)"--config=" O5G_RAN_CONFIG_FILE_PATH_4_TEST "gnb.band78.tm1.106PRB.usrpb210.toml";

        rc = RAN_Init(argc, argv);
        REQUIRE(O5G_RC_OK == rc);

        SUBCASE("MAC_SC_BASE")
        {

        }

        rc = RAN_Final();
        REQUIRE(O5G_RC_OK == rc);
    }
}
